import request from '@/utils/request'

export const getSingerList = () => {

    return request.get('/api/getSingerList')
}
export const getToken = () => {

    return request.get('/api/getToken')
}
export const getRecommend = () => {

    return request.get('/api/getRecommend')
}
export const getAlbum = (params) => {

    return request.get('/api/getAlbum', {
        params
    })
}
export const getSongsUrl = (mid) => {

    return request.post('/api/getSongsUrl', {
        mid
    })
}

export const getLyric = (mid) => {

    return request.get('/api/getLyric?mid=' + mid)
}


